﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostJobs.aspx.cs" Inherits="lcmyjobs.Web.enprise.PostJobs" %>

<%@ Register src="../Controls/TopEmployNavigation.ascx" tagname="TopEmployNavigation" tagprefix="uc1" %>

<%@ Register src="../Controls/EnterpriseLeft.ascx" tagname="EnterpriseLeft" tagprefix="uc2" %>

<%@ Register src="../Controls/Bottom8.ascx" tagname="Bottom8" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>单位管理中心—职位管理：发布职位</title>
    <link href="../Styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css"/>
  
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../Scripts/drag.js" type="text/javascript"></script>
    <script src="../Scripts/city_func.js" type="text/javascript"></script>
    <script src="../Scripts/city_arr.js" type="text/javascript"></script>
    <script src="../Scripts/industry_arr.js" type="text/javascript"></script>
    <script src="../Scripts/industry_func.js" type="text/javascript"></script>
    <script src="../Scripts/funtype_arr.js" type="text/javascript"></script>
    <script src="../Scripts/funtype_func.js" type="text/javascript"></script>
    <script src="../Scripts/major_arr.js" type="text/javascript"></script>
    <script src="../Scripts/major_func.js" type="text/javascript"></script>
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../Scripts/mybasic.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        $(function () { $(".grgl_ul li a").eq(2).addClass("activ_n"); });
    </script>
    <style type="text/css">


    </style>
</head>
<body>
    <form id="form1" runat="server">
   <div id="lo_wrap">
		<uc1:TopEmployNavigation ID="TopEmployNavigation1" runat="server" />
		<div class="zgzt_img">
			<img src="../qimg/zgzt_img.jpg" alt="找工作？就来我就业网！" width="950" height="70"/>
		    
		</div>
		<div class="syd_dhk">
			欢迎您：<asp:Label ID="lbl_title" runat="server" Font-Bold="True" ></asp:Label>
            &nbsp;</div>
		<div class="ny_center" style="margin-top:5px;">
			<uc2:EnterpriseLeft ID="EnterpriseLeft1" runat="server" />
			<div class="grgl_right">
				<div class="grgl_jbzl">
				<p class="jbzl_zhuc_ls"><a href="PostJobs.html"><span> 发布职位</span></a> | <a href="ListJobs.html">职位管理</a> | <a href="ListReward.html">悬赏服务</a> | <a href="ListHunter.html">猎头服务</a></p>
				<div class="xinxi_zc">
					<div class="jbxx_lr_ls">发布职位</div>
					<table border="0" cellpadding="0" cellspacing="0" class="jbzl_tab_ls">
						<tr>
							<td class="red_td" width="10" valign="top">*</td>
							<td width="310">职位名称：&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="txtjob" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="txtjob" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </td>
							<td class="qys_td" width="380">
                                <!--
                                <input type="button" onclick="alert_reward_jobs_content()" value="为什么要悬赏招聘？" onmouseover="this.style.cursor='hand'" style=" border:1px #fff solid; color:#ff6600; background-color:White; font-weight:bold; width:128px; "/>
                                -->
                                
                                <div>
                                <x:PageManager ID="PageManager1" runat="server" />
                                        <x:LinkButton ID="btnWhy" Text="为什么要悬赏招聘？" runat="server"   CssClass="inline"  ToolTip="悬赏招聘：更准确、更快捷、更低成本。<br/><br/>更准确----提供专业的人才选择工具，帮助企业深度甄选人才。 基于人才胜任素质的评测工具辅助人才选择。颠覆被动“等待”人才的传统方式。<br/><br/>更快捷----发挥社会力量，动员群众，借助猎手人脉资源关系，让您的悬赏信息迅速覆盖目标群体，快速找到适合人才。<br/><br/>更低成本----悬赏招聘使企业能够以较低的价格完成猎头服务。悬赏企业自行定价、发布有效职位，成本仅为传统猎头费用(费用为该职位年薪的30%)的十分之一，甚至更低，并全程享受专业人事招聘服务，轻松猎才。" ToolTipAutoHide="false">
                                        </x:LinkButton>
                                </div>
                            </td>
						</tr>
                        <tr>
							<td class="red_td" width="10">*</td>
							<td width="310">职位状态：&nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="cbo_isfrist" runat="server" Text=" "  onclick="setfristvalidity();"/> 急聘 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:CheckBox ID="cbo_isreward" runat="server" Text=" " onclick="showreward()" /> 悬赏招聘 </td>
							<td class="qys_td" width="380"><span class="style1">悬赏金额：</span><asp:TextBox ID="txtrewardpay" runat="server" Width="39px"></asp:TextBox>
                            &nbsp; <span class="style1">元，至少500元！</span><asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtrewardpay" Display="Dynamic" ErrorMessage="CompareValidator" Operator="GreaterThanEqual" Type="Integer"  ValueToCompare="500">最低500</asp:CompareValidator>
                            </td>
						</tr>
                        <tr>
							<td class="red_td" valign="top">*</td>
							<td>职位有效期：&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtvalidity" runat="server" Width="90px"></asp:TextBox>
                            &nbsp;天
                         
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                ControlToValidate="txtvalidity" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                          
                            <asp:RangeValidator ID="RangeValidator1" runat="server" 
                                ErrorMessage="1-365之间" ControlToValidate="txtvalidity" Display="Dynamic" 
                                MaximumValue="365" MinimumValue="1" Type="Integer">数字1-365之间</asp:RangeValidator></td>
							<td class="qys_td"><span style=" color:#ff6600;">重要！</span>急聘职位默认有效期15天！
							</td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td>职位类别：&nbsp;&nbsp;&nbsp;&nbsp; 
                                <asp:TextBox ID="txtjobclass" runat="server" onclick="funtypeSelect_2()"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ControlToValidate="txtjobclass" ErrorMessage="*"></asp:RequiredFieldValidator>
                                <asp:HiddenField ID="hid_jobclass" runat="server" />
                            </td>
							<td class="qys_td"><span style=" color:#ff6600;">重要！</span>正确的职位类别，能使更多求职者准确搜索到您的职位</td>
						</tr>
                        <tr>
							<td class="red_td" valign="top">*</td>
							<td>工作地区：&nbsp;&nbsp;&nbsp;&nbsp; 
                            <asp:TextBox ID="txtarea" runat="server" onclick="jobAreaSelect()"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ControlToValidate="txtarea" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
							<td class="qys_td">最多允许选择3个工作地区</td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td>招聘人数：&nbsp;&nbsp;&nbsp;&nbsp; 
                                <asp:TextBox ID="txtworkercount" runat="server" Width="90px"></asp:TextBox>
                                &nbsp;人<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ControlToValidate="txtworkercount" ErrorMessage="*"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                ControlToValidate="txtworkercount" Display="Dynamic" ErrorMessage="请输入数字" 
                                ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator></td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td>招聘部门：&nbsp;&nbsp;&nbsp;&nbsp; 
                            <asp:TextBox ID="txtjobdep" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                ControlToValidate="txtjobdep" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
							<td class="qys_td"> 人才上班后的所在部门；可填写“单位”</td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td colspan="2">月薪待遇：&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:DropDownList ID="ddlsalarym" runat="server" Width="100px">
                                 <asp:ListItem Value="0">面议</asp:ListItem>
                                <asp:ListItem Value="1">1499元以下</asp:ListItem>
                                <asp:ListItem Value="2">1500-1999元</asp:ListItem>
                                <asp:ListItem Value="3">2000-2999元</asp:ListItem>
                                <asp:ListItem Value="4">3000-4999元</asp:ListItem>
                                <asp:ListItem Value="5">5000元以上</asp:ListItem>
                            </asp:DropDownList>
								<p style="padding-left:77px; padding-top:5px; line-height:24px"><asp:CheckBox ID="cbo_isnx" runat="server" Text=" " onclick="shownx()" /> 年薪 ：  <asp:TextBox ID="txtsalaryy" runat="server" Width="50px"></asp:TextBox> 万元<br/>
								<span class="qys_td">您招聘：硕士及以上学历，或期望年薪5万以上的人才，或小语种外语人才等；
								<span style=" color:#ff6600;">建议您同时选择年薪</span>，您将有机会被 我就业网猎头 推荐高级人才</span></p>
							</td>
						</tr>
						
						<tr>
							<td class="red_td" valign="top">*</td>
							<td>人才类别：&nbsp;&nbsp;&nbsp; &nbsp;
                            <asp:RadioButton ID="rdo_bx" runat="server" Text=" " GroupName="class" Checked="True" />
                            不限 &nbsp;<asp:RadioButton ID="rdo_wjs" runat="server" Text=" " GroupName="class" />往届生 &nbsp;<asp:RadioButton ID="rdo_yjs" runat="server" Text=" " GroupName="class" /> 应届生</td>
							<td class="qys_td"><span style=" color:#ff6600;">重要！</span>正确的人才类别，能使更多求职者准确搜索到您的职位</td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td>最低学历：&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:DropDownList ID="ddledus_id" runat="server" >
                                <asp:ListItem Value="1">不限</asp:ListItem>
                                <asp:ListItem Value="2">初中</asp:ListItem>
                                <asp:ListItem Value="3">高中</asp:ListItem>
                                <asp:ListItem Value="4">中专/中技</asp:ListItem>
                                <asp:ListItem Value="5">大专</asp:ListItem>
                                <asp:ListItem Value="6">本科</asp:ListItem>
                                <asp:ListItem Value="7">硕士</asp:ListItem>
                                <asp:ListItem Value="8">博士</asp:ListItem>
                            </asp:DropDownList>
                            </td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td><span style="margin-right:1px;">工作经验：&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                <asp:DropDownList ID="ddlworkxp_id" runat="server">
                                <asp:ListItem Value="1">不限</asp:ListItem>
                                <asp:ListItem Value="2">3个月以下</asp:ListItem>
                                <asp:ListItem Value="3">3个月以上</asp:ListItem>
                                <asp:ListItem Value="4">半年以上</asp:ListItem>
                                <asp:ListItem Value="5">一年以上</asp:ListItem>
                                <asp:ListItem Value="6">两年以上</asp:ListItem>
                                <asp:ListItem Value="7">三年以上</asp:ListItem>
                                <asp:ListItem Value="8">五年以上</asp:ListItem>
                                <asp:ListItem Value="9">八年以上</asp:ListItem>
                            </asp:DropDownList>
                            </td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td>专业要求：&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:TextBox ID="txtmajor" runat="server" onclick="majorSelect(3)" Style="margin-bottom:10px;"></asp:TextBox>

                                <asp:CheckBox ID="cbo_bx" runat="server" Text="&nbsp;不限" onclick="readonly()" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                    ControlToValidate="txtmajor" ErrorMessage="*"></asp:RequiredFieldValidator>
										
										</td>
							<td class="qys_td">最多允选择3个专业</td>
						</tr>
                        <tr>
							<td class="red_td" valign="top">*</td>
							<td>外语要求：&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:DropDownList ID="ddllanguage" runat="server">
                                <asp:ListItem Value="1">不限</asp:ListItem>
                                <asp:ListItem Value="2">英语</asp:ListItem>
                                <asp:ListItem Value="3">日语</asp:ListItem>
                                <asp:ListItem Value="4">法语</asp:ListItem>
                                <asp:ListItem Value="5">德语</asp:ListItem>
                                <asp:ListItem Value="6">阿拉伯语</asp:ListItem>
                                <asp:ListItem Value="7">西班牙语</asp:ListItem>
                                <asp:ListItem Value="8">俄语</asp:ListItem>
                                <asp:ListItem Value="9">韩语</asp:ListItem>
                                <asp:ListItem Value="10">葡萄牙语</asp:ListItem>
                                <asp:ListItem Value="11">意大利语</asp:ListItem>
                                <asp:ListItem Value="12">波斯语</asp:ListItem>
                                <asp:ListItem Value="13">土耳其语</asp:ListItem>
                                <asp:ListItem Value="14">希腊语</asp:ListItem>
                                <asp:ListItem Value="15">瑞典语</asp:ListItem>
                                <asp:ListItem Value="16">印地语</asp:ListItem>
                                <asp:ListItem Value="17">其他</asp:ListItem>
                            </asp:DropDownList>
                                &nbsp;&nbsp;
								水平：<asp:DropDownList ID="ddllanguageslevel" runat="server">
                                <asp:ListItem Value="1">初级</asp:ListItem>
                                <asp:ListItem Value="2">熟练</asp:ListItem>
                                <asp:ListItem Value="3">精通</asp:ListItem>
                            </asp:DropDownList>
                        &nbsp;</td>
							<td class="qys_td"></td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td colspan="2" valign="top"><span style="vertical-align:top;">岗位职责：</span>&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:TextBox ID="txtjobduty" runat="server" Height="140px" TextMode="MultiLine" 
                                    Width="500px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                ControlToValidate="txtjobduty" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
						</tr>
						<tr>
							<td class="red_td" valign="top">*</td>
							<td colspan="2" valign="top"><span style="vertical-align:top;">相关经验：</span>&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:TextBox ID="txtjobrequirement" runat="server" Height="140px" TextMode="MultiLine"
                                    Width="500px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                    ControlToValidate="txtjobrequirement" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
						</tr>

					</table>
					<div class="xiayibu">
						   <asp:Button ID="btn_postjob" runat="server" Text="" OnClick="btn_postjob_Click" CssClass="enterprise_saveBtn" Font-Bold="True" />
                        
					</div>
					</div>
				</div>
			</div>
		</div>
		<uc3:Bottom8 ID="Bottom81" runat="server" />
	</div>
     <div style="display: none" id="maskLayer">
        <iframe style="filter: alpha(opacity=50)" id="maskLayer_iframe" src="about:blank"
            frameborder="0" scrolling="no"></iframe>
        <div style="filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5" id="alphadiv">
        </div>
        <div id="drag">
            <h3 id="drag_h">
            </h3>
            <div id="drag_con">
            </div>
            <!-- drag_con end -->
        </div>
    </div>
    <!-- maskLayer end -->
    <div>
    </div>
    <!-- alpha div end -->
    <div style="display: none" id="sublist">
    </div>
 
        <script language="javascript" type="text/javascript">

           $().ready(function () {
               showreward();
               shownx();
           })
           function in_array(needle, haystack) {
               if (typeof needle == 'string' || typeof needle == 'number') {
                   for (var i in haystack) {
                       if (haystack[i] == needle) {
                           return true;
                       }
                   }
               }
               return false;
           }
           function setfristvalidity() {
               if ($("#<%=cbo_isfrist.ClientID %>").attr("checked")) {
                   $("#<%=txtvalidity.ClientID %>").val("15");
                   $("#<%=txtvalidity.ClientID %>").attr("readonly", true);
               }
               else {
                   $("#<%=txtvalidity.ClientID %>").attr("readonly", false);
               }
           }
           function showreward() {
               if ($("#<%=cbo_isreward.ClientID %>").attr("checked")) {
                   $("#<%=txtrewardpay.ClientID %>").show();
               }
               else {
                   $("#<%=txtrewardpay.ClientID %>").hide();
               }
           }
           function shownx() {
               if ($("#<%=cbo_isnx.ClientID %>").attr("checked")) {
                   $("#<%=txtsalaryy.ClientID %>").show();
               }
               else {
                   $("#<%=txtsalaryy.ClientID %>").hide();
               }
           }
           function readonly() {
               if ($("#<%=cbo_bx.ClientID %>").attr("checked")) {
                   $("#<%=txtmajor.ClientID %>").val("专业不限");
                   $("#<%=txtmajor.ClientID %>").attr("disabled", true);
               }
               else {
                   $("#<%=txtmajor.ClientID %>").val("");
                   $("#<%=txtmajor.ClientID %>").attr("disabled", false);

               }
           }
           </script>

    </form>
</body>
</html>
